#include<iostream>
using namespace std;
int main()
{
    const int a=5;
    int *b = new int [a] {1,2,3,4,5};
    cin>>a;
    for(int i=0;i<a;i++)
    {
        cout<<b[i]<<endl;
    }
    delete [] b;
}
